package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

/**
 * 申诉工单详情对象 complain_record_detail
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("申诉工单详情-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "complain_record_detail")
public class ComplainRecordDetailEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 申诉工单主键
	 */
	@ApiModelProperty("申诉工单主键")
	private Long complainId;

	/**
	 * 审核状态 (02-已通过 03-已驳回)
	 */
	@ApiModelProperty("审核状态 (02-已通过 03-已驳回)")
	private String state;

	/**
	 * 审核人
	 */
	@ApiModelProperty("审核人")
	private Long auditPerson;

	/**
	 * 审核意见
	 */
	@ApiModelProperty("审核意见")
	private String auditIdea;

	/**
	 * 审核时间
	 */
	@ApiModelProperty("审核时间")
	private Date auditTime;

}
